﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcShop.Models.ViewDataModels;

namespace MvcShop.Models.Repositories
{
    public interface IProductRepository<T>:IRepository<T> where T :class
    {
        void Del(IEnumerable<int> values);
        int GetProductId(string productName);
        IEnumerable<ProductList> GetCategoryHotSell(int categoryId);
    }

    public interface ICategoryRepository<T> : IRepository<T> where T : class
    {
        IEnumerable<CategoryNavigator> GetCNavigator();
        int GetMaxPosition();
    }

    public interface IProduct_propertys_contentRepository<T> : IRepository<T> where T : class
    {
        void Del(IEnumerable<int> values);
    }

    public interface IProduct_propertyRepository<T> : IRepository<T> where T : class
    {
    }

    public interface IProduct_ImageRepository<T> : IRepository<T> where T : class
    {
        IList<Product_Image> Find(IEnumerable<int> values);
        IList<FrontProductImage> GetListThumbnailImage(int productId);
    }

    public interface IRemarkRepository<T> : IRepository<T> where T : class
    {
        IList<Remark> DefaultListRemarks(int productId);
    }
}
